package com.zhz.employee.config.shiro;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * sso权限放开配置
 *
 * @author zhouhengzhe
 * @version 1.0
 * @date 2023/5/29 14:56
 */
@Data
@Component
@ConfigurationProperties("ihrm.sso")
public class SsoProperties {

    @ApiModelProperty("未经授权的url集合")
    private List<String> noAuthUrls;

    @ApiModelProperty("未登录跳转的接口")
    private String loginUrl;

    @ApiModelProperty("未授权跳转的接口")
    private String unauthorizedUrl;
}
